﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Web.SystemConfig.Services;
using Web.SystemConfig.DataAccess;
using System.Data;
using DreamBuilder.Common;

namespace Web.SystemConfig.Business
{
    public class BUSUpdateUserPasswd : BusinessBase, IUpdateUserPasswd
    {
        DALUpdateUserPasswd dal;

        public BUSUpdateUserPasswd()
        {
            dal = new DALUpdateUserPasswd();
        }

        public DataTable SelectStructedDepartments()
        {
            return dal.SelectStructedDepartments();
        }

        public DataTable SelectUserInfoByDepID(string depID)
        {
            return dal.SelectUserInfoByDepID(depID);
        }

        public int UpdateUserPasswd(string userID, string pass)
        {
            return dal.UpdateUserPasswd(userID,pass);
        }

    }
}
